PrevEsc
- There is a user called
scriptmanager
www
user can run any command asscriptmanager
(sudo -l
)- Use
sudo -u scriptmanager bash -i
to get a shell asscriptmanager
/scripts
folder owned byscriptmanager
has test.py that writes to a root owned file- Change
test.py
to create a reverse shell from root account